/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package database;

/**
 *
 * @author karolos
 */
public class Reservation { //klasi gia kratisi
                    //katastasi kratisis -1 anenergi, 0 ypobli8ike, 1 lista anamonis,
                    //2 mi dia8esimi,3 dia8esimi,4 egri8ike,5 akyro8ike,6 epibebaio8ike
    private int state;
    private user user;
    private Restaurant restaurant;

    public Reservation(int state, user user, Restaurant restaurant) {
        this.state = state;
        this.user = user;
        this.restaurant = restaurant;
    }

    public Reservation(user user, Restaurant restaurant) {
        this.user = user;
        this.restaurant = restaurant;
    }


    public Restaurant getRestaurant() {
        return restaurant;
    }

    public void setRestaurant(Restaurant restaurant) {
        this.restaurant = restaurant;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public user getUser() {
        return user;
    }

    public void setUser(user user) {
        this.user = user;
    }

}

